package com.heima.mapper;


import com.github.pagehelper.Page;
import com.heima.pojo.domain.Sku;
import com.heima.pojo.vo.PageQueryResponse;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SkuMapper {

//    int insertSku(String brandName, String skuImage, Integer price, Integer classId, String unit, String skuName,
//                  Integer isDiscount, LocalDateTime createTime, LocalDateTime updateTime);
    int insertSku(Sku sku);

    Page<PageQueryResponse> selectList(String skuName);

    int updateSku( Sku sku);
}
